package com.jason.kotlin.constraint

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.jason.kotlin.R
import kotlinx.android.synthetic.main.activity_constraint.*

/**
 * Description:ConstraintActivity
 *
 * @author chenbaoyang
 * @create 2020/12/24 11:41
 */
class ConstraintActivity : AppCompatActivity() {


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_constraint)

        flowBtn.setOnClickListener {
            startActivity(Intent(ConstraintActivity@this, ConstraintFlowActivity::class.java))
        }


        layerBtn.setOnClickListener {
            startActivity(Intent(ConstraintActivity@this, ConstraintLayerActivity::class.java))
        }
    }
}